3.3.64 \(\int \frac {\cos (c+d x) \sin ^n(c+d x)}{(a+a \sin (c+d x))^3} \, dx\) [264]

Optimal. Leaf size=38 \[ \frac {\, _2F_1(3,1+n;2+n;-\sin (c+d x)) \sin ^{1+n}(c+d x)}{a^3 d (1+n)} \]

[Out]

hypergeom([3, 1+n],[2+n],-sin(d*x+c))*sin(d*x+c)^(1+n)/a^3/d/(1+n)

________________________________________________________________________________________

Rubi [A]
time = 0.05, antiderivative size = 38, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.074, Rules used = {2912, 66} \begin {gather*} \frac {\sin ^{n+1}(c+d x) \, _2F_1(3,n+1;n+2;-\sin (c+d x))}{a^3 d (n+1)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(Cos[c + d*x]*Sin[c + d*x]^n)/(a + a*Sin[c + d*x])^3,x]

[Out]

(Hypergeometric2F1[3, 1 + n, 2 + n, -Sin[c + d*x]]*Sin[c + d*x]^(1 + n))/(a^3*d*(1 + n))

Rule 66

Int[((b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[c^n*((b*x)^(m + 1)/(b*(m + 1)))*Hypergeometr
ic2F1[-n, m + 1, m + 2, (-d)*(x/c)], x] /; FreeQ[{b, c, d, m, n}, x] &&  !IntegerQ[m] && (IntegerQ[n] || (GtQ[
c, 0] &&  !(EqQ[n, -2^(-1)] && EqQ[c^2 - d^2, 0] && GtQ[-d/(b*c), 0])))

Rule 2912

Int[cos[(e_.) + (f_.)*(x_)]*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_.)*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)
])^(n_.), x_Symbol] :> Dist[1/(b*f), Subst[Int[(a + x)^m*(c + (d/b)*x)^n, x], x, b*Sin[e + f*x]], x] /; FreeQ[
{a, b, c, d, e, f, m, n}, x]

Rubi steps

\begin {align*} \int \frac {\cos (c+d x) \sin ^n(c+d x)}{(a+a \sin (c+d x))^3} \, dx &=\frac {\text {Subst}\left (\int \frac {\left (\frac {x}{a}\right )^n}{(a+x)^3} \, dx,x,a \sin (c+d x)\right )}{a d}\\ &=\frac {\, _2F_1(3,1+n;2+n;-\sin (c+d x)) \sin ^{1+n}(c+d x)}{a^3 d (1+n)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.03, size = 38, normalized size = 1.00 \begin {gather*} \frac {\, _2F_1(3,1+n;2+n;-\sin (c+d x)) \sin ^{1+n}(c+d x)}{a^3 d (1+n)} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(Cos[c + d*x]*Sin[c + d*x]^n)/(a + a*Sin[c + d*x])^3,x]

[Out]

(Hypergeometric2F1[3, 1 + n, 2 + n, -Sin[c + d*x]]*Sin[c + d*x]^(1 + n))/(a^3*d*(1 + n))

________________________________________________________________________________________

Maple [F]
time = 0.44, size = 0, normalized size = 0.00 \[\int \frac {\cos \left (d x +c \right ) \left (\sin ^{n}\left (d x +c \right )\right )}{\left (a +a \sin \left (d x +c \right )\right )^{3}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(d*x+c)*sin(d*x+c)^n/(a+a*sin(d*x+c))^3,x)

[Out]

int(cos(d*x+c)*sin(d*x+c)^n/(a+a*sin(d*x+c))^3,x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(d*x+c)*sin(d*x+c)^n/(a+a*sin(d*x+c))^3,x, algorithm="maxima")

[Out]

integrate(sin(d*x + c)^n*cos(d*x + c)/(a*sin(d*x + c) + a)^3, x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(d*x+c)*sin(d*x+c)^n/(a+a*sin(d*x+c))^3,x, algorithm="fricas")

[Out]

integral(-sin(d*x + c)^n*cos(d*x + c)/(3*a^3*cos(d*x + c)^2 - 4*a^3 + (a^3*cos(d*x + c)^2 - 4*a^3)*sin(d*x + c
)), x)

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(d*x+c)*sin(d*x+c)**n/(a+a*sin(d*x+c))**3,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(d*x+c)*sin(d*x+c)^n/(a+a*sin(d*x+c))^3,x, algorithm="giac")

[Out]

integrate(sin(d*x + c)^n*cos(d*x + c)/(a*sin(d*x + c) + a)^3, x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int \frac {\cos \left (c+d\,x\right )\,{\sin \left (c+d\,x\right )}^n}{{\left (a+a\,\sin \left (c+d\,x\right )\right )}^3} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((cos(c + d*x)*sin(c + d*x)^n)/(a + a*sin(c + d*x))^3,x)

[Out]

int((cos(c + d*x)*sin(c + d*x)^n)/(a + a*sin(c + d*x))^3, x)

________________________________________________________________________________________